FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE
ADD ${JAR_FILE} app.jar
CMD java $JAVA_OPTIONS \
    -Djava.security.egd=file:/dev/./urandom \
    -Dfile.encoding=UTF8 \
    -Duser.timezone=GMT+08 \
    -jar /app.jar $BOOT_ARGS